<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
    <title>此状态下明细</title>
</head>
<body>
<div class="container">
    <div class="portlet-body">
        <table id="table"
               class="table table-striped table-bordered table-hover  js-table"
               data-toggle="table"
               data-method="post"
               data-content-type="application/x-www-form-urlencoded"
               data-query-params="queryParams"
               data-query-params-type="limit"
               data-select-item-name="btSelectItem"
               data-side-pagination="server"
               data-search-align="left"
               data-undefined-text="-"<#--默认无数据显示-->
               data-click-to-select="true"<#--点击选中-->
               data-pagination="true"
               data-striped="true" <#--显示行间隔色-->
               data-page-number="1"<#--第几页-->
               data-page-size="5"<#--每页数据条数-->
               data-page-list="[5,10, 25, 50, 100]"
               data-show-columns="true"
               data-show-toggle="true"
               data-show-refresh="true"
        >
            <thead>
            <tr>
                <th data-radio="true" checkbox="true"></th>
                <th data-field="userId"  data-align="center" >编号</th>
                <th data-field=""  data-align="center" >区县</th>
                <th data-field="" data-align="center" >渠道编码</th>
                <th data-field="" data-align="center" >渠道</th>
                <th data-field=""  data-align="center" >品牌</th>
                <th data-field=""  data-align="center" >型号</th>
                <th data-field=""  data-align="center" >订购数量</th>
                <th data-field=""  data-align="center">状态</th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<script>
    jQuery(document).ready(function () {
        selectList();
    });
    function queryParams(params) {
        return getQueryParams(params, "searchForm");
    }
    function selectList(){
        $('#table').bootstrapTable("destroy");
        $('#table').bootstrapTable({
            method: "post",
            url: "/test/selectList"
        });

    }
</script>
</body>

</html>
